summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-11-01 01:29:16 +0100
committerCharles Lombardo <clombardo169@gmail.com>2023-11-01 03:07:44 +0100
commit97b4ca1d01fef5fb350125d103e6aff89cd92108 (patch)
treef922d3ba9377370e539b77445f4914ac9c1ae4d3
parentandroid: Update translations from transifex (diff)
downloadyuzu-97b4ca1d01fef5fb350125d103e6aff89cd92108.tar
yuzu-97b4ca1d01fef5fb350125d103e6aff89cd92108.tar.gz
yuzu-97b4ca1d01fef5fb350125d103e6aff89cd92108.tar.bz2
yuzu-97b4ca1d01fef5fb350125d103e6aff89cd92108.tar.lz
yuzu-97b4ca1d01fef5fb350125d103e6aff89cd92108.tar.xz
yuzu-97b4ca1d01fef5fb350125d103e6aff89cd92108.tar.zst
yuzu-97b4ca1d01fef5fb350125d103e6aff89cd92108.zip
-rw-r--r--src/android/app/build.gradle.kts4
-rw-r--r--src/android/app/src/main/AndroidManifest.xml1
-rw-r--r--src/android/app/src/main/res/resources.properties1
-rw-r--r--src/android/app/src/main/res/xml/locales_config.xml17
4 files changed, 5 insertions, 18 deletions
diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts
index ac43d84b7..021b070e0 100644
--- a/src/android/app/build.gradle.kts
+++ b/src/android/app/build.gradle.kts
@@ -47,6 +47,10 @@ android {
jniLibs.useLegacyPackaging = true
}
+ androidResources {
+ generateLocaleConfig = true
+ }
+
defaultConfig {
// TODO If this is ever modified, change application_id in strings.xml
applicationId = "org.yuzu.yuzu_emu"
diff --git a/src/android/app/src/main/AndroidManifest.xml b/src/android/app/src/main/AndroidManifest.xml
index a67351727..f10131b24 100644
--- a/src/android/app/src/main/AndroidManifest.xml
+++ b/src/android/app/src/main/AndroidManifest.xml
@@ -26,7 +26,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
android:supportsRtl="true"
android:isGame="true"
android:appCategory="game"
- android:localeConfig="@xml/locales_config"
android:banner="@drawable/tv_banner"
android:fullBackupContent="@xml/data_extraction_rules"
android:dataExtractionRules="@xml/data_extraction_rules_api_31"
diff --git a/src/android/app/src/main/res/resources.properties b/src/android/app/src/main/res/resources.properties
new file mode 100644
index 000000000..467b3efec
--- /dev/null
+++ b/src/android/app/src/main/res/resources.properties
@@ -0,0 +1 @@
+unqualifiedResLocale=en-US
diff --git a/src/android/app/src/main/res/xml/locales_config.xml b/src/android/app/src/main/res/xml/locales_config.xml
deleted file mode 100644
index 51b88d9dc..000000000
--- a/src/android/app/src/main/res/xml/locales_config.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<locale-config xmlns:android="http://schemas.android.com/apk/res/android">
- <locale android:name="en" /> <!-- English (default) -->
- <locale android:name="de" /> <!-- German -->
- <locale android:name="es" /> <!-- Spanish -->
- <locale android:name="fr" /> <!-- French -->
- <locale android:name="it" /> <!-- Italian -->
- <locale android:name="ja" /> <!-- Japanese -->
- <locale android:name="nb" /> <!-- Norwegian Bokmal -->
- <locale android:name="pl" /> <!-- Polish -->
- <locale android:name="pt-rBR" /> <!-- Portuguese (Brazil) -->
- <locale android:name="pt-RPT" /> <!-- Portuguese (Portugal) -->
- <locale android:name="ru" /> <!-- Russian -->
- <locale android:name="uk" /> <!-- Ukranian -->
- <locale android:name="zh-rCN" /> <!-- Chinese (China) -->
- <locale android:name="zh-rTW" /> <!-- Chinese (Taiwan) -->
-</locale-config>